type t1 = "name" | "age" | "height" | null | undefined

type ResType = NonNullable<t1>

type MyNonNullable<T> = T extends null | undefined ? never : T

type ResType2 = MyNonNullable<t1>


export { }